<%-- 
    Document   : index
    Created on : Dec 7, 2012, 12:51:47 PM
    Author     : doraemon
--%>

<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>

<legend>
    Submission Listing
</legend>
<table class="table table-striped">
    <tr>
        <th>Title</th>
        <th>Submission Type</th>
        <th>Topic</th>
        <th>Presentation Type</th>
        <th>Keywords</th>
        <th>Status</th>
        <th>Action</th>
    </tr>
    
    <tr>
        <td><a href='<s:url action="Submission" />/show'><s:property value="conferenceItemSubmission.title" /></a></td>               
        <td><s:property value="conferenceItemSubmission.submissionType.title" /></td>
        <td><s:property value="conferenceItemSubmission.topic.title" /></td>
        <td><s:property value="conferenceItemSubmission.presentationType.title" /></td>
        <td><s:property value="conferenceItemSubmission.keywords" /></td>
        <td><s:property value="conferenceItemSubmission.status" /></td>

        <td>
            <s:url action="Submission/edit" var="editURL">
                <s:param name="id" value="" />
            </s:url>
            <a href='<s:property value="#editURL" />'>Edit</a>&nbsp;
            <s:url action="Submission/delete" var="deleteURL">
                <s:param name="id" value="conferenceItemSubmission.id" />
            </s:url>
            <a href='<s:property value="#deleteURL" />'>Withdraw</a>
        </td>
    </tr>
    
</table>
 